home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _1E1F234628A9D7E3087709E96684C649 < prev    next >
Extensible Markup Language  |  2006-01-15  |  5KB  |  91 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_logio - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Modules</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>Apache Module mod_logio</h1>
  23. <div class="toplang">
  24. <p><span>Available Languages: </span><a href="../en/mod/mod_logio.html" title="English"> en </a> |
  25. <a href="../ja/mod/mod_logio.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  26. <a href="../ko/mod/mod_logio.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  27. </div>
  28. <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Logging of input and output bytes per request</td></tr>
  29. <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
  30. <tr><th><a href="module-dict.html#ModuleIdentifier">ModuleáIdentifier:</a></th><td>logio_module</td></tr>
  31. <tr><th><a href="module-dict.html#SourceFile">SourceáFile:</a></th><td>mod_logio.c</td></tr></table>
  32. <h3>Summary</h3>
  33.  
  34.  
  35.     <p>This module provides the logging of input and output number of
  36.     bytes received/sent per request. The numbers reflect the actual bytes
  37.     as received on the network, which then takes into account the
  38.     headers and bodies of requests and responses. The counting is done
  39.     before SSL/TLS on input and after SSL/TLS on output, so the numbers
  40.     will correctly reflect any changes made by encryption.</p>
  41.  
  42.     <p>This module requires <code class="module"><a href="../mod/mod_log_config.html">mod_log_config</a></code>.</p>
  43.  
  44. </div>
  45. <div id="quickview"><h3 class="directives">Directives</h3>
  46. <p>This module provides no
  47.             directives.</p>
  48. <h3>Topics</h3>
  49. <ul id="topics">
  50. <li><img alt="" src="../images/down.gif" /> <a href="#formats">Custom Log Formats</a></li>
  51. </ul><h3>See also</h3>
  52. <ul class="seealso">
  53. <li><code class="module"><a href="../mod/mod_log_config.html">mod_log_config</a></code></li>
  54. <li><a href="../logs.html">Apache Log Files</a></li>
  55. </ul></div>
  56. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  57. <div class="section">
  58. <h2><a name="formats" id="formats">Custom Log Formats</a></h2>
  59.  
  60.  
  61.     <p>This modules adds two new logging directives. The characteristics of the
  62.     request itself are logged by placing "<code>%</code>" directives in
  63.     the format string, which are replaced in the log file by the values as
  64.     follows:</p>
  65.  
  66.     <table class="bordered"><tr class="header"><th>Format String</th>
  67.         <th>Description</th></tr>
  68. <tr><td><code>%...I</code></td>
  69.         <td>Bytes received, including request and headers, cannot be
  70.         zero.</td></tr>
  71. <tr class="odd"><td><code>%...O</code></td>
  72.         <td>Bytes sent, including headers, cannot be zero.</td></tr>
  73. </table>
  74.  
  75.     <p>Usually, the functionality is used like this:</p>
  76.  
  77.     <dl>
  78.       <dt>Combined I/O log format:</dt>
  79.       <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
  80.       \"%{User-agent}i\" %I %O"</code></dd>
  81.     </dl>
  82. </div>
  83. </div>
  84. <div class="bottomlang">
  85. <p><span>Available Languages: </span><a href="../en/mod/mod_logio.html" title="English"> en </a> |
  86. <a href="../ja/mod/mod_logio.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  87. <a href="../ko/mod/mod_logio.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  88. </div><div id="footer">
  89. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  90. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  91. </body></html>